import { IntersectionType, PartialType, PickType } from '@nestjs/mapped-types';
import { PaginationDto } from 'src/common/dtos/pagination.dto';
import { CreateRoleDto } from './create.dto';

export class ListDto extends IntersectionType(
  PaginationDto,
  PartialType(PickType(CreateRoleDto, ['name'])),
) {}
